<template>
  <div>
    <h1>我是父元素</h1>
    我是数子：{{ num }}
    <!-- <Son :value="num" @input="value=>num=value" /> -->
    <Son v-model="num" :value="num" />
  </div>
</template>
<script>
import Son from './Son.vue'
export default {
  components: {
    Son

  },
  data() {
    return {
      num: 100
    }
  }
}
</script>
